#pragma once
#include "..\dxstdafx.h"
#include "..\utils\GameMath.h"
#include <string>

namespace ds {

class PAKReader {

public:
	PAKReader(void);
	~PAKReader(void);
	bool open(const char* fileName);
	void close();
	int readInt();
	uint32 readUInt();
	bool readBool();
	std::string readString();
	char readChar();
	float readFloat();
	Vec2 readVec2();
	Vec3 readVec3();
	Color readColor();
	uchar readUChar();
	bool isEOF() {
		return m_EOF;
	}
private:
	bool m_EOF;
	FILE* m_File;
};

}

